package com.fg.cloud.manager.entry.product.vo;

import com.fg.cloud.manager.entry.product.ProductMoreUnitEntity;

/**
 * Description:ProductMoreUnitEntity - vo
 * @author around
 * @date 2017年8月18日下午2:33:48
 */
public class ProductMoreUnitVo extends ProductMoreUnitEntity {

	private static final long serialVersionUID = 5494900556557753599L;
	
	private String longName;
	
	private boolean isActive = false;

	public String getLongName() {
		return longName;
	}

	public void setLongName(String longName) {
		this.longName = longName;
	}
	
	public static ProductMoreUnitVo getProductMoreUnitVo(Long unitId, 
			String unitName, Integer num) {
		ProductMoreUnitVo entity = new ProductMoreUnitVo();
		entity.setUnitId(unitId);
		entity.setUnitName(unitName);
		entity.setStandardUnitId(unitId);
		entity.setStandardUnitName(unitName);
		entity.setLongName(unitName);
		entity.setNum(num);
		return entity;
	}

	public boolean isActive() {
		return isActive;
	}

	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}
	
	
	
}
